#include <vector>
#include <iostream>
using namespace std;
vector<int> insertion_sort(vector<int> array) 
{
    for (int i = 0; i < array.size(); ++i)
    {
        for (int j = i; j < array.size() + 1; ++j)
        {
            if (array[i] > array[j]) 
            {
                swap(array[i], array[j]);
            }
        }
    }
}